package org.cqut.system.work_record.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author XiAoXu
 * @date 2021/6/9 17:12
 * @description
 */
@Data
@Accessors(chain = true)
public class StudentWorkRecordVo {
    private Long recordId;

    private String workName;

    private String submitStatus;

    private Integer submitGrade;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date contentStartTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date contentEndTime;

    @Override
    public String toString() {
        return "StudentWorkRecordVo{" +
                "recordId=" + recordId +
                ", workName='" + workName + '\'' +
                ", submitStatus='" + submitStatus + '\'' +
                ", submitGrade=" + submitGrade +
                ", createTime=" + createTime +
                ", contentStartTime=" + contentStartTime +
                ", contentEndTime=" + contentEndTime +
                '}';
    }
}
